﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using The_Quest.Entities.Abstract;
using The_Quest.Enums;

namespace The_Quest.Entities.Weapons
{
    /*The mace is the most powerful weapon in the dungeon. It doesn’t 
     * matter in which direction the player attacks with it—since he 
     * swings it in a full circle, it’ll attack any enemy within a radius of 
     * 20 and cause up to 6 points of damage.
     */
    class Mace:Weapon
    {
        public override string Name{ get { return "Mace"; } }
        
        
        public Mace(Game game, Point location) : base(game, location)
        {
            
        }
        
        public override void Attack(Direction direction, Random random)
        {
            // Your code goes here
            for (int i = 0; i < 4; i++)
            {
                DamageEnemy((Direction)i, 20, 6, random);
            }

        }
    }
}
